<div class="content">
                                <style type="text/css">
    @media (max-width: 375px) {
        .edit-form tr td input{width:100%;}
        .edit-form tr th:first-child,.edit-form tr td:first-child{
            width:20%;
        }
        .edit-form tr th:nth-last-of-type(-n+2),.edit-form tr td:nth-last-of-type(-n+2){
            display: none;
        }
    }
    .edit-form table > tbody > tr td a.btn-delcfg{
        visibility: hidden;
    }
    .edit-form table > tbody > tr:hover td a.btn-delcfg{
        visibility: visible;
    }
    #region_address .n-error{
        margin-left: 90px;
    }
</style>
<div class="panel panel-default panel-intro">
    <div class="panel-heading">
        <div class="panel-lead"><em>基本功能</em>基本功能</div>        <ul class="nav nav-tabs">
             
            <li class="active"><a href="javascript:;" data-toggle="tab">系統配置</a></li>
        </ul>
    </div>

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
             
            <div class="tab-pane fade active in" id="basic">
                <div class="widget-body no-padding">
                    <form id="basic-form" class="edit-form form-horizontal nice-validator n-default n-bootstrap" role="form" data-toggle="validator" method="POST" action="{:url('system_config/index')}" >
                        <table class="table table-striped">
                            <tbody>
                                <tr>
                                    <td><a style="color: red">*</a>工聯會官網</td>
                                    <td>
                                        <div class="row">
                                            <div class="col-sm-8 col-xs-12">
                                                <input data-rule="required;length(~50)" class="form-control" name="row[home_web_url]" type="text" value="{$row.home_web_url|htmlentities}">
                                            </div>
                                            <div class="col-sm-4"></div>
                                        </div>
                                    </td>
                                </tr>       
                                <tr>
                                    <td><a style="color: red">*</a>工聯會app</td>
                                    <td>
                                        <div class="row">
                                            <div class="col-sm-8 col-xs-12">
                                                <input data-rule="required;length(~50)" class="form-control" name="row[home_app_url]" type="text" value="{$row.home_app_url|htmlentities}">
                                            </div>
                                            <div class="col-sm-4"></div>
                                        </div>
                                    </td>
                                </tr>    
                                <!--暂且隐藏掉，二期再放出来-->
                                <!--<tr>-->
                                <!--    <td><a style="color: red">*</a>積分充值比例     一元=</td>-->
                                <!--    <td>-->
                                <!--        <div class="row" id="region_address">-->
                                <!--            <div class="col-sm-8 col-xs-12">-->
                                <!--                <input onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')"  data-rule="required;integer(+);length(~8)" class="form-control" name="row[integral_recharge_ratio]" type="number" value="{$row.integral_recharge_ratio|htmlentities}">-->
                                <!--            </div>-->
                                <!--            <div class="col-sm-4">積分</div>-->
                                <!--        </div>-->
                                <!--    </td>-->
                                <!--</tr>    -->
                                <tr>
                                    <td><a style="color: red">*</a>每日簽到積分</td>
                                    <td>
                                        <div class="row">
                                            <div class="col-sm-8 col-xs-12">
                                                <input onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')"  data-rule="required;integer(+);length(~8)" class="form-control" name="row[signin_integral]" type="number" value="{$row.signin_integral|htmlentities}">
                                            </div>
                                            <div class="col-sm-4"></div>
                                        </div>
                                    </td>
                                </tr>                  
                            </tbody>
                            <tfoot>
                                <tr>
                                    <td></td>
                                    <td>
                                        <button type="submit" class="btn btn-success btn-embossed">提交</button>
                                    </td>
                                    <td></td>
                                    <td></td>
                                </tr>
                            </tfoot>
                        </table>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>

                            </div>
